<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <title>首页</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<div class="container"  id="content">
    <section class="content-header">
        <h1>
            <i class="fa fa-users"></i>
            <strong>日常管理</strong>
        </h1>
        <ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-home "></i>Home</a></li>
            <li>日常管理</li>
            <li class="active">周报管理</li>
        </ol>
    </section>
    <!-- Main content -->
    <section class="content">
        <div class="box box-info">
            <div class="box-body">
                <div class="form-inline">
                    <div class="form-group">
                        <input type="text" id="keyword" class="form-control" placeholder="search..." style="width: 240px;" />
                        <!-- <button type="button" class="btn btn-info print">打印</button> 
                        <button type="button" class="btn btn-info btnExport">导出</button>-->
                        <button type="button" class="btn btn-info searchBtn">查询</button>
                        <button type="button" name="reset" id="reset-btn" class="btn btn-info resetBtn">撤消</button>
                    </div>
                    <div class="form-group pull-right">
                       <!--  <button th:if="${module.canOther1==true}" type="button" class="btn btn-info pull-right other1Btn">其他1</button>
                        <button th:if="${module.canOther2==true}" type="button" class="btn btn-info pull-right other2Btn">其他2</button> -->
                    	<button type="button" class="btn btn-info pull-right checkBtn" >查看</button>
                        <button  th:if="${module.canAdd==true}" type="button" class="btn btn-info pull-right submit">提交</button>
                        <button th:if="${module.canDelete==true}" class="btn btn-info pull-right delBtn">删除</button>
                        <button th:if="${module.canModify==true}" class="btn btn-info pull-right editBtn">编辑</button>
                        <button th:if="${module.canAdd==true}" type="button" class="btn btn-info pull-right addBtn">新建</button>
                    </div>
                </div>
            </div>
            <div class="box box-body">
                <table id="dataWeeklyTable" class="mytable dataTable table-bordered text-center table-striped table-hover" cellspacing="0" width="100%">
                    <thead>
                    <tr>
                        <th width="5%">序号</th>
                        <th width="2%"><input type="checkbox" id="checkAll"/></th>
                        <th width="8%">状态</th>
                        <th width="12%">发布者</th>
                        <th width="12%">发布日期</th>
                        <th width="12%">所属片区</th>
                        <th width="15%">周报名称</th>
                        <th width="15%">批示</th>
                        <th width="20%">下周工作备注</th>
                    </tr>
                    </thead>
                    <tbody>
                    </tbody>
                </table>
            </div>
        </div>
    </section>
    <!--周报填报弹窗-->
    <div class="modal" id="weeklyModal">
        <div class="modal-dialog" role="dialog" style="width:60%;height:600px;overflow-x: hidden; overflow-y: auto;">
            <form id="weeklyEditForm">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                        <h4 class="modal-title text-center"><strong>本周工作情况</strong></h4>
                    </div>

                    <div class="modal-body">
                        <input type="hidden" name="id" id="id" />
                         <input type="hidden" name="published" id="published"/>
                        <div class="form-horizontal">
                       		<div class="form-group">
                       			<label class="col-sm-2 control-label">周报名称</label>
                       			<div class="col-sm-4">
                       				<div class="col-md-11">
                       					<input type="text" class="form-control" name="weeklyName" id="weeklyName" />
                       				</div>
                       			</div>
                       		</div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">星期一</label>
                                <div class="col-sm-4">
                                    <div class="col-md-11">
                                         <input class="form-control week" type="date" name="week1" id="week1"/>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class=" col-sm-offset-2 col-sm-10">
                                    <div class="col-md-11">
                                        <textarea  class="form-control contents" type="text" name="content1" id="content1" rows="3" />
                                    </div>
                                </div>
                            </div>
                            
                            
                            <div class="form-group">
                                <label class="col-sm-2 control-label">星期二</label>
                                <div class="col-sm-4">
                                    <div class="col-md-11">
                                         <input class="form-control week" type="date" name="week2" id="week2"/>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class=" col-sm-offset-2 col-sm-10">
                                    <div class="col-md-11">
                                        <textarea  class="form-control contents" type="text" name="content2" id="content2"  rows="3"/>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="form-group">
                                <label class="col-sm-2 control-label">星期三</label>
                                <div class="col-sm-4">
                                    <div class="col-md-11">
                                         <input class="form-control week" type="date" name="week3" id="week3"/>
                                    </div>
                                    
                                </div>
                            </div>
                            <div class="form-group">
                                <div class=" col-sm-offset-2 col-sm-10">
                                    <div class="col-md-11">
                                        <textarea  class="form-control contents" type="text" name="content3" id="content3"   rows="3"/>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">星期四</label>
                                <div class="col-sm-4">
                                    <div class="col-md-11">
                                         <input class="form-control week" type="date" name="week4" id="week4"/>
                                    </div>
                                    
                                </div>
                            </div>
                           <div class="form-group">
                                <div class=" col-sm-offset-2 col-sm-10">
                                    <div class="col-md-11">
                                        <textarea  class="form-control contents" type="text" name="content4" id="content4" rows="3"/>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">星期五</label>
                                <div class="col-sm-4">
                                    <div class="col-md-11">
                                         <input class="form-control week" type="date" name="week5" id="week5"/>
                                    </div>
                                   
                                </div>
                            </div>
                            <div class="form-group">
                                <div class=" col-sm-offset-2 col-sm-10">
                                    <div class="col-md-11">
                                        <textarea  class="form-control contents" type="text" name="content5" id="content5"   rows="3"/>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">星期六</label>
                                <div class="col-sm-4">
                                    <div class="col-md-11">
                                         <input class="form-control week" type="date" name="week6" id="week6" />
                                    </div>
                                    
                                </div>
                            </div>
                           <div class="form-group">
                                <div class=" col-sm-offset-2 col-sm-10">
                                    <div class="col-md-11">
                                        <textarea  class="form-control contents" type="text" name="content6" id="content6"  rows="3"/>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">星期日</label>
                                <div class="col-sm-4">
                                    <div class="col-md-11">
                                         <input class="form-control week" type="date" name="week7" id="week7"/>
                                    </div>
                                    
                                </div>
                            </div>
                           <div class="form-group">
                                <div class=" col-sm-offset-2 col-sm-10">
                                    <div class="col-md-11">
                                        <textarea  class="form-control contents" type="text" name="content7" id="content7"  rows="3"/>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">下周工作计划</label>
                                <div class="col-sm-4">
                                    <div class="col-md-11">
                                         <input class="form-control contents" type="date" name="nextTime" id="nextTime"/>
                                    </div>
                                   
                                </div>
                            </div>
                            <div class="form-group">
                                <div class=" col-sm-offset-2 col-sm-10">
                                    <div class="col-md-11">
                                        <textarea  class="form-control week" type="text" name="workPlan" id="workPlan" rows="3" />
                                    </div>
                                </div>
                            </div>
                            
                             <div class="form-group">
                               <label class="col-sm-2 control-label">工作备注</label>
                             </div>
                            <div class="form-group">
                                <div class="col-sm-offset-2 col-sm-10">
                                    <div class="col-md-11">
                                        <textarea  class="form-control contents" type="text" name="memo" id="memo" rows="3"/>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                               <label class="col-sm-4">负责人评价、指点、安排</label>
                            </div>
                            <div class="form-group">
                                <div class=" col-sm-offset-2 col-sm-10">
                                    <div class="col-md-11">
                                        <textarea  class="form-control" type="text" name="instruction" id="instruction" rows="3" disabled="true"/>
                                    </div>
                                </div>
                            </div>
                            
                        </div>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-primary saveBtn" >保存</button>
                        <button type="button" class="btn btn-default" data-dismiss="modal">返回</button>

                    </div>
                </div>
            </form>
        </div>
    </div>
    <!--周报查看弹窗-->
    <div class="modal" id="ckeckWeeklyModal">
        <div class="modal-dialog" role="dialog" style="width:60%;height:600px;overflow-x: hidden; overflow-y: auto;">
            <form id="ckeckWeeklyEditForm">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                        <h4 class="modal-title text-center"><strong>本周工作情况</strong></h4>
                    </div>

                    <div class="modal-body">
                        <div class="form-horizontal">
                       		<div class="form-group">
                       			<label class="col-sm-2 control-label">周报名称</label>
                       			<div class="col-sm-4">
                       				<div class="col-md-11">
                       					<input type="text" class="form-control weeklyName" name="weeklyName" id="check-weeklyName" disabled="true"/>
                       				</div>
                       			</div>
                       		</div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">星期一</label>
                                <div class="col-sm-4">
                                    <div class="col-md-11">
                                         <input class="form-control week" type="date" name="week1" id="check-week1" disabled="true"/>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class=" col-sm-offset-2 col-sm-10">
                                    <div class="col-md-11">
                                        <textarea  class="form-control contents" type="text" name="content1" id="check-content1" rows="3" disabled="true"/>
                                    </div>
                                </div>
                            </div>
                            
                            
                            <div class="form-group">
                                <label class="col-sm-2 control-label">星期二</label>
                                <div class="col-sm-4">
                                    <div class="col-md-11">
                                         <input class="form-control week" type="date" name="week2" id="check-week2" disabled="true"/>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class=" col-sm-offset-2 col-sm-10">
                                    <div class="col-md-11">
                                        <textarea  class="form-control contents" type="text" name="content2" id="check-content2"  rows="3" disabled="true"/>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="form-group">
                                <label class="col-sm-2 control-label">星期三</label>
                                <div class="col-sm-4">
                                    <div class="col-md-11">
                                         <input class="form-control week" type="date" name="week3" id="check-week3" disabled="true"/>
                                    </div>
                                    
                                </div>
                            </div>
                            <div class="form-group">
                                <div class=" col-sm-offset-2 col-sm-10">
                                    <div class="col-md-11">
                                        <textarea  class="form-control contents" type="text" name="content3" id="check-content3"   rows="3" disabled="true"/>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">星期四</label>
                                <div class="col-sm-4">
                                    <div class="col-md-11">
                                         <input class="form-control week" type="date" name="week4" id="check-week4" disabled="true"/>
                                    </div>
                                    
                                </div>
                            </div>
                           <div class="form-group">
                                <div class=" col-sm-offset-2 col-sm-10">
                                    <div class="col-md-11">
                                        <textarea  class="form-control contents" type="text" name="content4" id="check-content4" rows="3" disabled="true"/>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">星期五</label>
                                <div class="col-sm-4">
                                    <div class="col-md-11">
                                         <input class="form-control week" type="date" name="week5" id="check-week5" disabled="true"/>
                                    </div>
                                   
                                </div>
                            </div>
                            <div class="form-group">
                                <div class=" col-sm-offset-2 col-sm-10">
                                    <div class="col-md-11"> 
                                        <textarea  class="form-control contents" type="text" name="content5" id="check-content5"   rows="3" disabled="true"/>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">星期六</label>
                                <div class="col-sm-4">
                                    <div class="col-md-11">
                                         <input class="form-control week" type="date" name="week6" id="check-week6" disabled="true"/>
                                    </div>
                                    
                                </div>
                            </div>
                           <div class="form-group">
                                <div class=" col-sm-offset-2 col-sm-10">
                                    <div class="col-md-11">
                                        <textarea  class="form-control contents" type="text" name="content6" id="check-content6"  rows="3" disabled="true"/>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">星期日</label>
                                <div class="col-sm-4">
                                    <div class="col-md-11">
                                         <input class="form-control week" type="date" name="week7" id="check-week7" disabled="true"/>
                                    </div>
                                    
                                </div>
                            </div>
                           <div class="form-group">
                                <div class=" col-sm-offset-2 col-sm-10">
                                    <div class="col-md-11">
                                        <textarea  class="form-control contents" type="text" name="content7" id="check-content7"  rows="3" disabled="true"/>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">下周工作计划</label>
                                <div class="col-sm-4">
                                    <div class="col-md-11"> 
                                         <input class="form-control contents" type="date" name="nextTime" id="check-nextTime" disabled="true"/>
                                    </div>
                                   
                                </div>
                            </div>
                            <div class="form-group">
                                <div class=" col-sm-offset-2 col-sm-10">
                                    <div class="col-md-11">
                                        <textarea  class="form-control week" type="text" name="workPlan" id="check-workPlan" rows="3" disabled="true"/>
                                    </div>
                                </div>
                            </div>
                            
                             <div class="form-group">
                               <label class="col-sm-2 control-label">工作备注</label>
                             </div>
                            <div class="form-group">
                                <div class="col-sm-offset-2 col-sm-10">
                                    <div class="col-md-11">
                                        <textarea  class="form-control contents" type="text" name="memo" id="check-memo" rows="3" disabled="true"/>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group">
                               <label class="col-sm-4">负责人评价、指点、安排</label>
                            </div>
                            <div class="form-group">
                                <div class=" col-sm-offset-2 col-sm-10">
                                    <div class="col-md-11">
                                        <textarea  class="form-control" type="text" name="instruction" id="check-instruction" rows="3" disabled="true"/>
                                    </div>
                                </div>
                            </div>
                            
                        </div>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-default" data-dismiss="modal">返回</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
    <script th:src="@{/weekly/weeklyindex.js}"></script>
</div>

</body>
</html>